﻿@model Project_NhomMua_B4.Models.Product
<div style="margin-left: 100px; margin-bottom: 50px;">
    <div id="k2deals-wrapper">
        <div class="k2deals-buynow">
            <a href="#" style="font-size: 45px !important; margin-left: -5px;">MUA</a> <span
                class="k2deals-buynow-span" style="color: #000 !important">
                @{
                    var a = Model.Value - Model.Save;
                }
                @a<em style="font-style: normal">k</em> </span>
        </div>
        <div class="k2deals-inner">
            <div class="k2deals-inner-value-header">
                <ul>
                    <li><span>GIÁ TRỊ</span> @Model.Value<em style="font-style: normal">k</em></li>
                    <li><span>GIẢM</span> @Model.Sale<em style="font-style: normal">%</em></li>
                    <li class="li-end"><span>TIẾT KIỆM</span> @Model.Save<em style="font-style: normal">k</em></li>
                </ul>
                <div class="clr">
                </div>
            </div>
            <div class="clr">
            </div>
            <div class="k2deals-inner-bought">
                @Model.NPeople/100 người
                <br />
                <span class="small">
                    @{
                        a = 100 - Model.NPeople;}
                    @a cơ hội</span>
            </div>
            <div class="k2deals-inner-timeleft">
                <p>
                    Thời gian còn lại</p>
                <span>12h</span>
            </div>
            <div class="k2deals-inner-rating">
                <p>
                    Đánh giá</p>
                <div class="catItemRatingBlock">
                    <div class="itemRatingForm">
                        <ul class="itemRatingList">
                            <li class="itemCurrentRating" style="width: 87.2%;"></li>
                            <li><a href="#" rel="46" title="1 start out of 5" class="one-star">1</a> </li>
                            <li><a href="#" rel="46" title="2 start out of 5" class="two-star">2</a> </li>
                            <li><a href="#" rel="46" title="3 start out of 5" class="three-star">3</a> </li>
                            <li><a href="#" rel="46" title="4 start out of 5" class="four-star">4</a> </li>
                            <li><a href="#" rel="46" title="5 start out of 5" class="five-star">5</a> </li>
                        </ul>
                        <div class="clr">
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                    <div class="itemRatingLog">
                        (@Model.Vote bình chọn)
                    </div>
                </div>
            </div>
            <div style="margin-top: 20px !important; background: transparent !important">
                <!--a href="http://sandbox.nganluong.vn/simple_payment.php?receiver=trongnghia09ctt2@gmail.com&product_id=6870"
                    target="_blank">
                    <img src="http://sandbox.nganluong.vn/data/images/buttons/4.gif" border="0" /></a-->
                <!--a target="_blank" href= "@Model.Url(@Model.Title, ((@Model.Value - @Model.Save)*1000).ToString(), "_blank", "Khong co gi");">
                    <img src="http://sandbox.nganluong.vn/data/images/buttons/4.gif" border="0" /></a-->
                <a target="_blank" href= "@Model.checkoutUrl("http://groupb4.somee.com","trongnghia09ctt2@gmail.com","",@Model.Title, ((@Model.Value - @Model.Save)*1000).ToString())">
                    <img src="http://sandbox.nganluong.vn/data/images/buttons/4.gif" border="0" /></a>            
            </div>
        </div>
    </div>
    <div style="margin-left: 100px; width: 650px; margin-top: 10px; background-color: #FFF">
        <div class="catItemHeader">
            <h3 class="catItemTitle">
                <a href="#">@Model.Title</a>
            </h3>
            @{
                string str = Model.SourceImage;
            }
            <div class="catItemImageBlock" style="background-image: url(@Model.SourceImage); background-repeat: no-repeat">
            </div>
        </div>
        <div class="catItemBody">
            <div class="catItemIntroText">
                <h2>
                    <strong>Nổi bật</strong>
                </h2>
                <ul style="margin-left: 210px !important;">
                    <li>@Model.Special[0]</li>
                    <li>@Model.Special[1]</li>
                    <li>@Model.Special[2]</li>
                </ul>
            </div>
        </div>
        <div class="catItemCommentsBlock">
            <a href="#">Chi tiết</a>
        </div>
        <div class="catItemReadMore" style="margin-left: 0.1px;">
            <a href="">10 bình luận</a>
        </div>
    </div>
</div>
